package com.peace.hospital.entity.outpatientdept.dto;

import com.peace.hospital.entity.common.Druginformation;
import com.peace.hospital.entity.common.People;
import com.peace.hospital.entity.outpatientdept.Chargingitems;
import com.peace.hospital.entity.outpatientdept.Drugcharges;
import com.peace.hospital.entity.outpatientdept.Inpatientmessage;
import com.peace.hospital.entity.outpatientdept.Patientinformation;

import java.util.List;

public class ConsumptionDetails {
    //病人表
    private People people;
    //挂号信息表
    private Patientinformation patientinformation;


    //挂号总收费
    private Double chargprice;
    //挂号收费表
    private List<Chargingitems> chargingitems;


    //药品总收费
    private Double drugprice;
    //药品收费表
    private List<Druginformation> drugcharges;


    //住院总收费
    private Double inpatientprice;
    //住院收费表
    private List<Inpatientmessage> inpatientmessage;

    //总收费
    private Double totalCharge;

    public People getPeople() {
        return people;
    }

    public void setPeople(People people) {
        this.people = people;
    }

    public Patientinformation getPatientinformation() {
        return patientinformation;
    }

    public void setPatientinformation(Patientinformation patientinformation) {
        this.patientinformation = patientinformation;
    }

    public Double getChargprice() {
        return chargprice;
    }

    public void setChargprice(Double chargprice) {
        this.chargprice = chargprice;
    }

    public List<Chargingitems> getChargingitems() {
        return chargingitems;
    }

    public void setChargingitems(List<Chargingitems> chargingitems) {
        this.chargingitems = chargingitems;
    }

    public Double getDrugprice() {
        return drugprice;
    }

    public void setDrugprice(Double drugprice) {
        this.drugprice = drugprice;
    }

    public List<Druginformation> getDrugcharges() {
        return drugcharges;
    }

    public void setDrugcharges(List<Druginformation> drugcharges) {
        this.drugcharges = drugcharges;
    }

    public Double getInpatientprice() {
        return inpatientprice;
    }

    public void setInpatientprice(Double inpatientprice) {
        this.inpatientprice = inpatientprice;
    }

    public Double getTotalCharge() {
        return totalCharge;
    }

    public void setTotalCharge(Double totalCharge) {
        this.totalCharge = totalCharge;
    }

    public List<Inpatientmessage> getInpatientmessage() {
        return inpatientmessage;
    }

    public void setInpatientmessage(List<Inpatientmessage> inpatientmessage) {
        this.inpatientmessage = inpatientmessage;
    }

    public ConsumptionDetails() {
    }

    public ConsumptionDetails(People people, Patientinformation patientinformation) {
        this.people = people;
        this.patientinformation = patientinformation;
    }

    @Override
    public String toString() {
        return "ConsumptionDetails{" +
                "people=" + people +
                ", patientinformation=" + patientinformation +
                ", chargprice=" + chargprice +
                ", chargingitems=" + chargingitems +
                ", drugprice=" + drugprice +
                ", drugcharges=" + drugcharges +
                ", inpatientprice=" + inpatientprice +
                ", inpatientmessage=" + inpatientmessage +
                ", totalCharge=" + totalCharge +
                '}';
    }
}
